using System;
using System.Collections.Generic;

namespace Turquoise.EntityGenerator.Models
{
    public partial class UserGroup
    {
        public UserGroup()
        {
            this.RoleUserGroupLines = new List<RoleUserGroupLine>();
            this.UserGroupLanguageLines = new List<UserGroupLanguageLine>();
            this.UserGroupRoleLines = new List<UserGroupRoleLine>();
            this.UserGroupUserLines = new List<UserGroupUserLine>();
        }

        public int Id { get; set; }
        public Nullable<int> ParentId { get; set; }
        public System.DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public System.DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }
        public virtual ICollection<RoleUserGroupLine> RoleUserGroupLines { get; set; }
        public virtual User User { get; set; }
        public virtual User User1 { get; set; }
        public virtual ICollection<UserGroupLanguageLine> UserGroupLanguageLines { get; set; }
        public virtual ICollection<UserGroupRoleLine> UserGroupRoleLines { get; set; }
        public virtual ICollection<UserGroupUserLine> UserGroupUserLines { get; set; }
    }
}
